﻿#region Using statements
using System;
#endregion

namespace Rectangular.Model.Environment
{
    public abstract class World
    {
        /* Game objects might be affected by gravity */
        private float gravity;
        /* Name of the world */
        private string name;
        // TODO define look

        /// <summary>
        /// Getter and setter for gravity
        /// </summary>
        protected float Gravity
        {
            get { return this.gravity; }
            set { this.gravity = value; }
        }

        /// <summary>
        /// Getter and setter for name
        /// </summary>
        protected string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }

        /// <summary>
        /// Returns a string representation of the object
        /// </summary>
        /// <returns>The name of the world</returns>
        public override string ToString()
        {
            return this.name;
        }
    }
}
